#include"ros/ros.h"
#include "geometry_msgs/Twist.h"

int main(int argc,char *argv[]){

    ros::init(argc,argv,"uzi");
    ros::NodeHandle nh;
    ros::Publisher pub=nh.advertise<geometry_msgs::Twist>("/turtle1/cmd_vel",10);
    geometry_msgs::Twist twist;
    ros::Rate rate(10);
    twist.angular.x=1;
    twist.angular.y=1;
    twist.angular.z=0;
    twist.linear.x=0;
    twist.linear.y=0;
    twist.linear.z=1;
    while (ros::ok())
    {
        pub.publish(twist);
        rate.sleep();
    }
    ros::spinOnce();

    return 0;

}